package com.ecommerce.dal.dao;

import java.util.List;

import com.ecommerce.dal.entity.Client;
import com.ecommerce.dal.entity.Customer;

public interface ICustomerDAO {
	void save(Customer customer);
	void update(Customer customer);
	void delete(Customer customer);
	Customer findByCustomerId(long customerId);
	Customer findByCustomerName(String customerUserName);
	//to be removed
	boolean checkIfClient(long customerId);
	//to be removed
	boolean checkCustomerId(long customerId);
	
	List<Customer> findVerifiedCustomers();
	List<Customer> findNonVerifiedCustomers();
	
	boolean isVerified(long customerId);
	
}
